package com.bicycle.rentalsystem.service.admin;

import com.bicycle.rentalsystem.pojo.admin.Bicycle;
import com.bicycle.rentalsystem.pojo.admin.Page;

import java.util.List;

/**
 * 自行车业务层接口
 *
 * 根据需要更改
 */
public interface BicycleService {

    List<Bicycle> searchBicycles();

    int updateBicycle(String id,String name,String describe);
    Page<Bicycle> page(Integer pageNo, Integer pageSize);

    void savaBike(Bicycle bike);

    void deleteBikeById(Integer bid);

    Bicycle getBikeById(Integer bid);

    void updateBike(Bicycle bike);

    int queryStatus();
}
